<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <script src="js/jquery.js"></script>
    <script src="js/pintuer.js"></script>
    <script>
        function showUpd() {
            document.getElementById("update").style.display = "block";
        }
    </script>
</head>
<body>
<div class="panel admin-panel">
    <div class="panel-head"><strong><span class="icon-key"></span> 个人信息</strong></div>
    <div class="body-content">
        <form action="" class="form-x">
            <div class="form-group">
                <div class="label">
                    <label for="sitename">我的姓名：</label>
                </div>
                <div class="field">
                    <label style="line-height:33px;">
                        XXX
                    </label>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label for="sitename">我的账号：</label>
                </div>
                <div class="field">
                    <label style="line-height:33px;">
                        XXX
                    </label>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label for="sitename">电话：</label>
                </div>
                <div class="field">
                    <label style="line-height:33px;">
                        XXX
                    </label>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label for="sitename">邮箱：</label>
                </div>
                <div class="field">
                    <label style="line-height:33px;">
                        XXX
                    </label>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <input class="button bg-main icon-check-square-o" onclick="showUpd()" type="button" value="修改个人信息">
                </div>
            </div>
        </form>


    </div>
</div>

<div class="panel admin-panel" style="display: none" id="update">
    <div class="panel-head"><strong><span class="icon-key"></span> 修改个人信息</strong></div>
    <div class="body-content">
        <form method="post" class="form-x" action="">
            <div class="form-group">
                <div class="label">
                    <label for="sitename">我的帐号：</label>
                </div>
                <div class="field">
                    <label style="line-height:33px;">
                        <input class="input w50" type="text" value="admin">
                    </label>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label for="sitename">我的姓名：</label>
                </div>
                <div class="field">
                    <input type="password" class="input w50" id="mpass" name="mpass" size="50" placeholder="XXXX" data-validate="required:XXXX" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label for="sitename">电话：</label>
                </div>
                <div class="field">
                    <input type="password" class="input w50" name="newpass" size="50" placeholder="XXXX" data-validate="required:XXXX,length#>=5:XXXX" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label for="sitename">邮箱：</label>
                </div>
                <div class="field">
                    <input type="password" class="input w50" name="renewpass" size="50" placeholder="XXXX" data-validate="required:XXXX,repeat#newpass:XXXX" />
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" type="submit"> 修改</button>
                </div>
            </div>
        </form>
    </div>
</div>
</body></html>